/**
 * 
 */
package br.com.ctm.advogadope.dao.api;

import java.util.List;

import javax.ejb.Local;
import javax.persistence.PersistenceException;

import br.com.ctm.advogadope.model.Advogado;
import br.com.framework.persistencia.api.BaseDao;

/**
 * @author Cleber
 *
 */
@Local
public interface AdvogadoDao extends BaseDao<Advogado> {
	
	List<Advogado> findByProcesso(String npu, int firstResult,
			int maxResults, boolean onlyActive) throws PersistenceException;

}
